/*
 * @Author: 许警 11378748333@
 * @Date: 2024-07-16 10:48:44
 * @LastEditors: 许警 11378748333@
 * @LastEditTime: 2025-06-17 10:36:20
 * @FilePath: /hsxlsystem/src/api/options.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
// export const wsURL = 'ws://1.94.150.110:9003/websocket/52'
// export const wsURL = 'ws://192.168.0.50:9003/websocket/'
export const wsURL = 'ws://1.94.161.87:9003/websocket/'

// 使用store也是类似路由一样直接引入使用
let baseURL = ''
if (process.env.VUE_APP_MODE == "'development'") {
  // 本地调试: 记得将vue.config.js中的Proxy注打开
  baseURL = '/api'
} else {
  // 发布到正式服务器上：记得把vue.config.js中Proxy注释掉
  // baseURL = 'https://hushixiaolu.com/houtai'
  baseURL = 'http://120.26.232.8:81/houtai'
  // baseURL = 'http://1.94.150.110:81/houtai'
  // baseURL = 'https://hushixiaolu.com/lutu'
  // baseURL = 'http://192.168.0.50:5004/houtai'
  // baseURL = "http://192.168.1.32:5004/houtai";
  // baseURL = 'http://192.168.1.47:5004/houtai'

  // 发布到测试服务器上：访问地址:http://116.62.23.229:99 端口是99
  // var baseURL = 'http://116.62.23.229:99/houtai'
}

export const url = baseURL
